package com.ruoyi.project.nczxwechat.stuinfo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 学生信息对象 nczx_wx_stuinfo
 * 
 * @author 阿卜QQ932696181
 * @date 2021-12-16
 */
@Data
public class WxStuinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 学生唯一ID */
    @Excel(name = "学生唯一ID")
    private String stuno;

    /** 学校代码 */
    @Excel(name = "学校代码")
    private String schooid;

    /** 学校名称 */
    @Excel(name = "学校名称")
    private String schoolname;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String stuname;

    /** 学生性别 */
    @Excel(name = "学生性别")
    private String stusex;

    /** 学生班级 */
    @Excel(name = "学生班级")
    private String stuclass;

    /** 用户openId */
    @Excel(name = "用户openId")
    private String openId;

    /**只是为了能接收参数，不需要存入数据库*/
    private String code;

    /** 用户微信昵称 */
    @Excel(name = "用户微信昵称")
    private String nickName;

    /** 用户微信头像地址 */
    @Excel(name = "用户微信头像地址")
    private String avatarUrl;

    /** 第一次登录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "第一次登录时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
    private Date firstLoginTime;

    /** 最后一次登录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后一次登录时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
    private Date lastLoginTime;

    /** 是否选课状态 */
    @Excel(name = "是否选课状态")
    private Long statues;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getStuno() {
        return stuno;
    }

    public void setStuno(String stuno) {
        this.stuno = stuno;
    }

    public String getSchooid() {
        return schooid;
    }

    public void setSchooid(String schooid) {
        this.schooid = schooid;
    }

    public String getSchoolname() {
        return schoolname;
    }

    public void setSchoolname(String schoolname) {
        this.schoolname = schoolname;
    }

    public String getStuname() {
        return stuname;
    }

    public void setStuname(String stuname) {
        this.stuname = stuname;
    }

    public String getStusex() {
        return stusex;
    }

    public void setStusex(String stusex) {
        this.stusex = stusex;
    }

    public String getStuclass() {
        return stuclass;
    }

    public void setStuclass(String stuclass) {
        this.stuclass = stuclass;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public Date getFirstLoginTime() {
        return firstLoginTime;
    }

    public void setFirstLoginTime(Date firstLoginTime) {
        this.firstLoginTime = firstLoginTime;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public Long getStatues() {
        return statues;
    }

    public void setStatues(Long statues) {
        this.statues = statues;
    }
}
